<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Test11</title>
</head>
<body>

<jsp:useBean id="cust" class="com.amit.Customer" scope="session">
</jsp:useBean>
<jsp:setProperty name="cust" property="cid" value="101" />
<jsp:setProperty name="cust" property="cname" value="yadav" />
<jsp:setProperty name="cust" property="email" value="amityadav@gmail.com" />
<jsp:setProperty name="cust" property="phone" value="1234444" />

<h1>CID:<jsp:getProperty name="cust" property="cid"/></h1>
<h1>CNmae:<jsp:getProperty name="cust" property="cname"/></h1>
<h1>Email:<jsp:getProperty name="cust" property="email"/></h1>
<h1>Phone:<jsp:getProperty name="cust" property="phone"/></h1>
<h1>hello...............</h1>
<h1>CID:${cust.cid}</h1>
<h1>Cname:${cust.cname}</h1>
<h1>Email:${cust.email}</h1>
<h1>Phone:${cust.phone}</h1>


</body>
</html>